package com.qzxy.premiumhotelsystem.domain.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: iQNRen
 * @Description: room加强版
 * @Date: 2024/9/25 14:07 周三
 * @Version: 1.0
 */
@Data
public class RoomProDTO {
    @TableId
    @NotNull(message = "roomId不能为空")
    private Integer roomId;

    private String roomNumber;

    private Integer roomTypeId;

    private String status;

    private String description;

    @Version
    @JsonIgnore
    private Integer version;

    private String roomType;

    private BigDecimal price;

    private String roomUrl;

    private  Integer isAdvice;

    private  String typeExplain;
}

